x86/Dom0: minor command line parsing adjustments
authorJan Beulich <jbeulich@suse.com>
Thu, 26 Feb 2015 13:00:21 +0000 (14:00 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Feb 2015 13:00:21 +0000 (14:00 +0100)
commitf7448aea0e425a8b092191ea1741e3669e012a8c
tree3625b3c89b5dd2dab7b5f2fa4910d9f029a158f3
parent17294e69c4cd299da7ba3ca8077e24be76bd61b1
x86/Dom0: minor command line parsing adjustments

Remove a redundant statement from parse_dom0_mem() and refuse bogus
ranges (with a separator other than a dash) passed to
parse_dom0_max_vcpus(). Fix coding style issues in the latter function
at the same time.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domain_build.c